#ifndef UI_H
#define UI_H

#include "IUI.h"
#include <imgui/imgui.h>
#include <functional>

class UI_Impl;

class UI : public IUI
{
public:
    UI(SDL_Window* w, SDL_GLContext& glContext);
    ~UI();

    void Logic() override;
    void HandleInput(SDL_Event& e) override;
    void Render() override;

private:
    SDL_Window* window;
    ImGuiIO* io;
    UI_Impl* uiImpl;
};


#endif //UI_H
